Data Intake Test Client

The Data Intake test-client distribution supports both JMS and Kafka.

Edit:

conf/KafkaClient.properties

Example SCRAM configuration:

topic.name=DataIntakeQueue

bootstrap.servers=<kafka-host>:<kafka-port>

client.id=oipa-data-intake-test-client

acks=all

security.protocol=SASL_SSL

sasl.mechanism=SCRAM-SHA-512

sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required username="<username>" password="<password>";

ssl.truststore.location=<path>/kafka.client.truststore.p12

ssl.truststore.password=<truststore-password>

ssl.truststore.type=PKCS12

Protect this file with appropriate filesystem permissions if it temporarily contains credentials. Do not commit the configured file.

Run on Linux

bin/startup-kafka.sh

To use a different configuration file:

bin/startup-kafka.sh /secure/path/KafkaClient.properties

Run on Windows

bin\startup-kafka.bat

To use a different configuration file:

bin\startup-kafka.bat C:\secure\KafkaClient.properties

The client prompts for a test XML file and sends:

  1. beginLoading

  2. One or more addRecord messages

  3. completeLoading

  4. process

The producer sends synchronously, so broker, authentication, authorization, and serialization errors are displayed before the client continues.